function Notifications() {
  
  
  this.current = 0;
  
  this.timer = 0;
  
  
  this.show = function(which) {
    
    if(which == "level1") {
      this.current = 0;
      this.timer = 270;
      
    } else if(which == "level2") {
      this.current = 1;
      this.timer = 210;
      
    } else if(which == "level3") {
      this.current = 2;
      this.timer = 120;
      
    } else if(which == "level4") {
      this.current = 3;
      this.timer = 210;
      
    } else if(which == "knife") {
      this.current = 4;
      this.timer = 210;
      
    } else if(which == "machete") {
      if(hero.weapon < 2) {
        this.current = 7;
        this.timer = 180;
      } else if(hero.weapon == 2) {
        this.current = 8;
        this.timer = 90;
      } else if(hero.weapon > 2) {
        this.current = 9;
        this.timer = 90;
      }
      
    } else if(which == "axe") {
      if(hero.weapon < 3) {
        this.current = 10;
        this.timer = 180;
      } else if(hero.weapon == 3) {
        this.current = 11;
        this.timer = 90;
      } else if(hero.weapon > 3) {
        this.current = 12;
        this.timer = 90;
      }
      
    } else if(which == "chainsaw") {
      if(hero.weapon < 4) {
        this.current = 13;
        this.timer = 180;
      } else if(hero.weapon == 4) {
        this.current = 14;
        this.timer = 90;
      } else if(hero.weapon > 4) {
        this.current = 15;
        this.timer = 90;
      }
      
    } 
    else if(which == "hungry") {
      this.current = 17;
      this.timer = 180;
    }
  };
  
  
  this.update = function() {
    if(this.timer > 0) {
      this.timer--;
    }
  };
  
  
  this.draw = function() {
    if(this.timer > 0) {
      if(this.timer < 30) {
        c.globalAlpha = this.timer / 30;
      }
      img.drawSprite("notifications", 0, 450, 620, 150, 0, this.current);
      if(this.timer < 30) {
        c.globalAlpha = 1;
      }
    }
  };
  
}